package HomeWork.work12;

import HomeWork.work11.Work11;

/**
 * @author banana
 */
public class Work12 {
    public static void main(String[] args) {
        Work11 stu1=new Work11();
        stu1.setName("Y");
        String name=stu1.getName();
        System.out.println("姓名："+name);
        stu1.setStuid(15);
        int stuid=stu1.getStuid();
        System.out.println("学号："+stuid);
        stu1.like();
        stu1.sc();
    }
}